﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcGrlTestData.ascx.cs" Inherits="TheHeGeo.UserControl.UcGrlTestData" %>
<%@ Register TagPrefix="dx" Namespace="DevExpress.Web" Assembly="DevExpress.Web.v14.2, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" %>

<div>
    <dx:ASPxGridLookup ID="grlDataTest0" runat="server" Width="100%" AllowUserInput="False" DisplayFormatString="{0}" SelectionMode="Single" KeyFieldName="Id" TextFormatString="{0}" AutoGenerateColumns="False" MultiTextSeparator="," AutoPostBack="True" OnValueChanged="grlDataTest_ValueChanged">
    <GridViewProperties>
    <SettingsBehavior AllowFocusedRow="True" AllowSelectByRowClick="True" autofilterrowinputdelay="100"></SettingsBehavior>
        <Settings UseFixedTableLayout="False" ShowFilterRow="True" />
    </GridViewProperties>
        <Columns>
                        
            <dx:GridViewDataTextColumn Caption="Tên/Ghi chú" FieldName="GhiChuTest" VisibleIndex="1" Name="GhiChuTest">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTimeEditColumn   Caption="Thời gian bắt đầu" FieldName="ThoiGianBatDauTest" VisibleIndex="2" Name="ThoiGianBatDauTest">
                <PropertiesTimeEdit DisplayFormatString="yyyy/MM/dd HH:mm:ss" DisplayFormatInEditMode="true">
                </PropertiesTimeEdit>
            </dx:GridViewDataTimeEditColumn>
            <dx:GridViewDataTimeEditColumn Caption="Thời gian kết thúc" FieldName="ThoiGianKetThucTest" VisibleIndex="3" Name="ThoiGianKetThucTest">
                <PropertiesTimeEdit DisplayFormatString="yyyy/MM/dd HH:mm:ss" DisplayFormatInEditMode="true">
                </PropertiesTimeEdit>
            </dx:GridViewDataTimeEditColumn>
            <dx:GridViewDataTextColumn FieldName="Id" VisibleIndex="4" Visible="False" Name="Id">
            </dx:GridViewDataTextColumn>
        </Columns>
        <ClientSideEvents DropDown="function(s, e) {	s.GetGridView().SetWidth(s.GetWidth());}" Init="function(s, e) {s.GetGridView().SetWidth(s.GetWidth());}" />
    </dx:ASPxGridLookup>
</div>